﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Business_Layer;

namespace Control_Layer
{
    // See UseCase:
    // UCD01-MODIFICATIONS (03)
    public class CCUndoStep
    {
        private Service service;
        private Project project;

        public CCUndoStep()
        {
            service = Service.GetInstance;
            project = service.GetProject;
        }

        /// <summary>
        /// Undo a step.
        /// </summary>
        public void UndoStep()
        {
            project.UndoStep();
        }
    }
}
